package com.qianbao.domain.book;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class BookListRequestEntity implements Serializable{

    @NotNull(message = "分类id不能为空")
    private String categoryId;

    @NotNull(message = "页码不能为空")
    private String pageNo;

    @NotNull(message = "每页条数不能为空")
    private String pageSize;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getPageNo() {
        return pageNo;
    }

    public void setPageNo(String pageNo) {
        this.pageNo = pageNo;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "BookListRequestEntity{" +
                "categoryId='" + categoryId + '\'' +
                ", pageNo='" + pageNo + '\'' +
                ", pageSize='" + pageSize + '\'' +
                '}';
    }
}
